package com.pureut.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.equipment.domain.MaintenanceWorkOrder;
import com.pureut.equipment.domain.dto.MaintenanceWorkOrderDto;
import com.pureut.equipment.domain.vo.MaintenanceWorkOrderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/***
 *
 * Author:保养工单mapper
 * Date:2023/04/24 9:51
 * @DESC
 */
@Mapper
public interface MaintenanceWorkOrderMapper extends BaseMapper<MaintenanceWorkOrder> {

    /**
     * 保养工单列表
     */
    List<MaintenanceWorkOrderDto> getWorkOrder(MaintenanceWorkOrderVo maintenanceWorkOrderVo);

    /**
     * 根据id获取保养工单数据
     */
    MaintenanceWorkOrderDto getWorkOrderById(Long id);
}
